﻿<ResourceDictionary
 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	>
	
    <!--xmlns:c="clr-namespace:TagFlo"-->
    <!-- Resource dictionary entries should be defined here. -->

	<Style TargetType ="{x:Type Expander}">
		<Setter Property ="BorderBrush" Value ="DimGray"/>
		<Setter Property ="BorderThickness" Value ="1"/>
		<Setter Property ="Margin" Value ="3"/>
	</Style>


	<!-- Fill Brushes -->



	<Style x:Key="StarToggleButton" TargetType="{x:Type ToggleButton}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ToggleButton}">
					<Canvas Width="22" Height="22" RenderTransformOrigin="0.247,0.297">
						<Path x:Name="star" Stroke="Black" Fill="Gray" Data="M4,4 L0,4 3,7 2,11 5,9 6,9 9,11 8,7 11,4 7,4 C6.6790099,2.7160397 5.4996615,-0.014762052 5.4996615,-0.014762052 z" Canvas.Left="1.376" Height="17.167" Stretch="Fill" Width="17.249" StrokeThickness="0.5" Canvas.Top="1.792"/>
					</Canvas>
					<ControlTemplate.Triggers>
						<Trigger Property="IsChecked" Value="True">
							<Setter TargetName="star" Property="Fill" Value="Gold"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="TagListBoxStyle" TargetType="{x:Type ListBox}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ListBox}" >
					<WrapPanel  IsItemsHost="True" Orientation="Horizontal"
						VerticalAlignment="Top" HorizontalAlignment="Stretch" />

				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>








	<DataTemplate x:Key="TagTreeViewTemplate">
		<DockPanel>
			<TextBlock Text="{Binding}"/>
			<Button/>
		</DockPanel>
	</DataTemplate>
	<DataTemplate x:Key="TagListViewTemplate">
		<TextBlock Text="{Binding Path=Tag}" AllowDrop="True" />
	</DataTemplate>

	<DataTemplate x:Key="TagSelectionListBoxTemplate">
		<DockPanel>
			<TextBlock Text="{Binding Path=Tag}" AllowDrop="True" DockPanel.Dock="Left" />
			<Button Width="10" Height="10" Content="+" DockPanel.Dock="Right" />
			<Button Width="10" Height="10" Content="x" DockPanel.Dock="Right" />
		</DockPanel>
	</DataTemplate>

	<DataTemplate x:Key="TagSetComboBoxTemplate">
		<TextBlock Text="{Binding Path=TagSetName}" AllowDrop="True" />
	</DataTemplate>




	<Style x:Key="TagTreeViewItemButtonStyle" TargetType="{x:Type Button}">


	</Style>




	<Style x:Key="MenuDockPanelStyle" TargetType="{x:Type DockPanel}">
		<Setter Property="Background">
			<Setter.Value>
				<LinearGradientBrush EndPoint="0,10" StartPoint="0,0" MappingMode="Absolute" SpreadMethod="Pad">
					<GradientStop Color="{DynamicResource {x:Static SystemColors.ControlLightColorKey}}" Offset="0"/>
					<GradientStop Color="#FFE8E8E8" Offset="1"/>
				</LinearGradientBrush>
			</Setter.Value>
		</Setter>
	</Style>

</ResourceDictionary>